package entity_controllers;

import ie.FieldBoard;
import ie.PlayerBoard;
import ie.Shaker;
import dto.Player;

public abstract class Option {
	private String title;
	private boolean enabled;

	public Option(String title) {
		this.title = title;
	}

	public boolean isEnabled() {
		return enabled;
	}

	public String getTitle() {
		return title;
	}

	public void disable() {
		enabled = false;
	}

	public void enable() {
		enabled = true;
	}

	public abstract void execute(Player player, FieldBoard gameBoard, PlayerBoard playerList, Shaker shaker);
	
	public abstract void reset();

}
